-
Notifications
You must be signed in to change notification settings - Fork 8
Improved printing of epi_df
#121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved printing of epi_df
#121
Conversation
Merge branch 'main' into epi_slide-error_message # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
Merge branch 'main' into epi_slide-error_message
Merge branch 'main' into epi_slide-error_message
…tatement Merge branch 'main' into epi-archive-print
Epi slide error message
Added final newline to epi_archive print statement.
epi_slide `f` parameter documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the test, because this is a request for printing, can you add a comment to the PR where you show an example of the results? Try using the reprex()
function I demonstrated and just paste it directly into a comment on the PR.
Here is the new print: library(epiprocess)
#>
#> Attaching package: 'epiprocess'
#> The following object is masked from 'package:stats':
#>
#> filter
jhu_csse_daily_subset
#> An `epi_df` object, 4,026 x 6 with metadata:
#> * geo_type = state
#> * time_type = day
#> * as_of = 2022-05-23 13:17:07
#>
#> # A tibble: 4,026 × 6
#> geo_value time_value case_rate_7d_av death_rate_7d_av cases cases_7d_av
#> * <chr> <date> <dbl> <dbl> <dbl> <dbl>
#> 1 ca 2020-03-01 0.00327 0 6 1.29
#> 2 ca 2020-03-02 0.00435 0 4 1.71
#> 3 ca 2020-03-03 0.00617 0 6 2.43
#> 4 ca 2020-03-04 0.00980 0.000363 11 3.86
#> 5 ca 2020-03-05 0.0134 0.000363 10 5.29
#> 6 ca 2020-03-06 0.0200 0.000363 18 7.86
#> 7 ca 2020-03-07 0.0294 0.000363 26 11.6
#> 8 ca 2020-03-08 0.0341 0.000363 19 13.4
#> 9 ca 2020-03-09 0.0410 0.000726 23 16.1
#> 10 ca 2020-03-10 0.0468 0.000726 22 18.4
#> # … with 4,016 more rows Created on 2022-06-29 by the reprex package (v2.0.1) |
@dajmcdon Also, I noticed that the |
Addressed issue #113.